package com.lyz.moil.web.service;

import com.lyz.moil.core.orm.hibernate.BaseDao;
import com.lyz.moil.core.orm.hibernate.BaseService;
import com.lyz.moil.web.entity.Session;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Service
@Transactional
public class SessionService extends BaseService<Session> {
    @Override
    @Resource(name = "sessionDao")
    public void setBaseDao(BaseDao<Session> baseDao) {
        this.baseDao = baseDao;
    }
}
